<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@page import="Entity.Land"%>
<%@page import="Entity.ReportingLand"%>
<%@page import="Entity.Entreprise"%>
<%@page import="Entity.Industrie"%>
<%@page import="Entity.Banque"%>
<%@page import="Entity.Etat"%>
<%@page import="Entity.Emprunt"%>
<%@page import="Entity.Machine"%>
<%@page import="java.util.*"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<% Land l = (Land)request.getAttribute("LAND");%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>

        <h1>JSP Page</h1>
        <table border=1>
        <tr>
            <th>NumBip</th>
            <th>NbLandienRienConsomme</th>
            <th>nbLandienInfCinqGlob</th>
            <th>nbLandienSupCinqGlob</th>
            <th>tauxDeChomage</th>
            <th>nbLicenciement</th>
            <th>nbEmbauche</th>
            <th>nbMachineAchetee</th>
            <th>nbEmpruntSouscrit </th>
            <th>nbEmpruntaSouscrire</th>
            <th>NbEmpruntAterme</th>
            <th>NbEmpruntaRembourse</th>
            <th>NbGlobConsomme</th>
            <th>NbLudoConsomme</th>

        </tr>
        <% for (ReportingLand r : l.getSesHist())
            {
        %>
        <tr>
            <td> <%=r.getBip() %> </td>
            <td> <%=r.getNbLandienRienConsomme() %> </td>
            <td> <%=r.getNbLandienInfCinqGlob()%> </td>
            <td> <%=r.getNbLandienSupCinqGlob()%></td>
            <td> <%=r.getTauxDeChomage()%> </td>
            <td> <%=r.getNbLicenciement()%> </td>
            <td> <%=r.getNbEmbauche()%></td>
            <td> <%=r.getNbMachineAchetee()%></td>
            <td> <%=r.getNbEmpruntSouscrit()%></td>
            <td> <%=r.getNbEmpruntaSouscrire()%></td>
            <td> <%=r.getNbEmpruntAterme()%></td>
            <td> <%=r.getNbEmpruntaRembourse()%></td>
            <td> <%=r.getNbGlobConsomme()%></td>
            <td> <%=r.getNbLudoConsomme()%></td>
        </tr>
        <% }
        %>
    
    </body>
</html>
